Refactor links validation to not use PackageSet
authorAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 19:02:17 +0000 (11:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 19:02:17 +0000 (11:02 -0800)
commit5ea7a97d58cf0b6d780ef71bb74455cb1f3e6cae
tree512589d5fd9b6260d7fae82411487e16d47353d1
parent2d25fcacc808bbbedb33d1f42a764ecdaf6615fb
Refactor links validation to not use PackageSet

Eventually we may not have the entire set of packages resident in memory, so
refactor the implementation to validate the `links` attribute in a demand driven
way rather than all at once up front.
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/links.rs
src/cargo/ops/cargo_rustc/mod.rs